const path = require("path");

const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
  transpileDependencies: true,

  pluginOptions: {
    "style-resources-loader": {
      preProcessor: "less",
      patterns: [
        path.join(__dirname, "./src/assets/style/mixins.less"),
        path.join(__dirname, "./src/assets/style/variables.less"),
      ],
    },
  },
  devServer: {
    allowedHosts: ["www.corho.com"],
  },
  configureWebpack: {
    externals: {
      qc: "QC",
    },
  },
});
